package com.pattern.design.Chapter_6.com.devchronicles.observer;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.ElementType;
import javax.inject.Qualifier;

@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.FIELD })
public @interface MyEvent {
	Type value();

	enum Type {
		LOGGING, MESSAGE
	}
}